﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MIC_Interfaces
{
    abstract class AbstractRegularPolygon
    {
        public int SidesCount { get; set; }
        public float SideLength { get; set; }

        public float GetPerimeter()
        {
            return SidesCount * SideLength;
        }

        public abstract float GetArea();
       
    }
}
